Luly 20, 2012
Description of the STATA files used to produce the regression results in the paper �The Effect of Immigration on Productivity: Evidence from US states� by Giovanni Peri, Review of Economics and Statistics, MIT Press, vol. 94(1), pages 348-358, 07.

The .do file included in this directory perform the construction of the variables and the regressions reported in table 1-5 of  the paper. They use the data from the following source files (also included in the directory):
Cap_gsp_60_08.dta, which includes data on gross state product and state capital 
Empl_wages_iv_states_60_08.dta, which includes data on employment, hours worked, wages and the instrumental variable (distance and imputed immigrants) 
Imputed_growth.dta that includes the constructed growth rates of employment and productivity based on the sector composition of a state.
Panel_state_data.dta that includes the state level controls (R&D, trade, computer) 

The file Tables_A_beta_phi.dta constructs the variables A, beta and Phi and runs the regressions in Tables 1,2 for these variables.
The file Table_constrols_A_beta.do construct the variables A and beta and runs the regressions of tables 3 and 4 and 5using those as dependent variables.
The file Tables_empl_hours_h constructs the variables hours worked, employment and h and runs the regressions relative to those for Table 1,2 and 5.
The file Tables_gsp_capital.do  constructs the variables capital-output ratio and gsp per person  and runs the regressions relative to those for Table 1,2 and 5.



